Previous Thread
Next Thread
Print Thread
Rate Thread
#234488 01/29/2003 10:12 AM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
How can I add this section to 6.1 version ?

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
This is a feature of 6.2

This should work for 6.1 Someone with PHP knowledge might be able to help better. In showprofile.tmpl after

<td align="right" valign="top" rowspan="12">
<img src="$Picture" alt="Picture" width="$width" height="$height" />
</td>
</tr>

add this:

<tr>
<td class="darktable">
Member #
</td>
<td>
$User  
</td>
<tr>

Now where I am fuzzy on since I do not have a copy of 6.1 to be sure of is if the U_Number variable which is called for is specified. You will most likely have to define it by something like this. There is a query that calls the user information. It will look something like this.

$query = "
SELECT U_Username,U_Fakeemail,U_Name,U_Totalposts,U_Homepage,U_Occupation,U_Hobbies,U_Location,U_Bio,U_Extra1,U_Extra2,U_Extra3,U_Extra4,U_Extra5,U_Registered,U_Picture,U_Title,U_Status,U_Number,U_Rating,U_Rates,U_Picwidth,U_Picheight,U_BirthMonth,U_BirthDay,U_BirthYear
FROM {$config['tbprefix']}Users
WHERE U_Number = '$User'

This is from 6.2 so do not try and do a search on this exact text. But you see what you need to do.

6.1 probally has

WHERE U_Username = '$User'

You need to make sure under that query that it reads

WHERE U_Number = '$User'

Backup both files before you try this and let me know if it works.


Now I would think you could place this in

Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
Thx

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Did it work for you?

Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 368
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)